package com.rsk.entity.curriculum;


import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;


@Data
@Entity
@Table(name = "rsk_course")
public class RskCourse implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "id")
	private long id;//主键

	@Column(name = "category_id")
    private long categoryId;//课程类目ID	
	
	@Column(name = "course_name")
	private String courseName;//课程名称
	
	@Column(name = "course_introduction")
	private String courseIntroduction;//课程介绍
	
	@Column(name = "course_url")
	private String courseUrl;//课程路径（视频路径）
	
	@Column(name = "course_cover")
	private String courseCover;//课程封面(最多3个)
	
	@Column(name = "is_recommend")
	private int isRecommend;//是否推荐 0否 1是
	
	@Column(name = "is_original")
	private int isOriginal;//是否原创 0否 1是
	
	@Column(name = "course_status")
	private int courseStatus;//课程状态 0上架 1下架
	
	@Column(name = "is_see")
	private int isSee;//是否原创 0否 1是
	
	@Column(name = "audit_status")
	private int auditStatus;//审核状态 0未审核，1审核通过，-1审核不通过
	
	@Column(name = "course_source")
	private int courseSource;//课程来源 0前台 1后台
	
	@Column(name = "is_del")
	private int isDel;//是否删除 0否 1是
	
	@Column(name = "create_user")
	private long createUser;//	创建人
	
	@Column(name = "create_time")
	private Date createTime;//创建时间	
	
	@Column(name = "operator_user")
	private long operatorUser;//操作人
	
	@Column(name = "operator_time")
	private Date operatorTime;//操作时间
	
}